<template>
	<view class="video-desc">
		<view class="top">
			<view class="pic">
				<image :src="detailData.vod_pic"></image>
			</view>

			<view class="list">
				<view class="title">
					<view class="text">
						<view class="vod_name">{{detailData.vod_name}}</view>
						<view class="vod_remarks">{{detailData.vod_remarks}}</view>
					</view>

					<text class="vod_score">{{detailData.vod_score}}</text>
				</view>
				<view class="item">
					<text class="attr">别名：</text>
					<text class="val">{{detailData.vod_sub}}</text>
				</view>
				<view class="item">
					<text class="attr">导演：</text>
					<text class="val">{{detailData.vod_director}}</text>
				</view>
				<view class="item">
					<text class="attr">主演：</text>
					<text class="val">{{detailData.vod_actor}}</text>
				</view>
				<view class="content">
					<view class="item">
						<text class="attr">类型：</text>
						<text class="val">{{detailData.vod_class}}</text>
					</view>
					<view class="item">
						<text class="attr">地区：</text>
						<text class="val">{{detailData.vod_area}}</text>
					</view>
					<view class="item">
						<text class="attr">语言：</text>
						<text class="val">{{detailData.vod_lang}}</text>
					</view>
					<view class="item">
						<text class="attr">上映：</text>
						<text class="val">{{detailData.vod_year}}</text>
					</view>
				</view>


			</view>
		</view>
		<view class="bottom">
			<text class="attr">简介：</text>
			<text class="val">{{detailData.vod_blurb}}</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		props: ['detailData']
	}
</script>

<style>
	.video-desc {
		padding: 25rpx;
	}

	.video-desc .top {
		display: flex;
		justify-content: space-between;
	}

	.video-desc .top .pic {
		width: 220rpx;
		height: 350rpx;
	}

	.video-desc .top .pic image {
		width: 220rpx;
		height: 350rpx;
		background: url(../static/images/image_loading.png) no-repeat center center;
		background-size: cover;
	}

	.video-desc .top .list {
		font-size: 25rpx;
		width: 460rpx;
	}

	.video-desc .top .list .title {
		font-weight: 600;
		display: flex;
		justify-content: space-between;
	}

	.video-desc .top .list .title .text {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}

	.video-desc .top .list .title .vod_name {
		font-size: 28rpx;
	}

	.video-desc .top .list .title .vod_remarks {
		font-size: 22rpx;
		margin-left: 10rpx;
		color: #777;
	}

	.video-desc .top .list .title .vod_score {
		color: rgb(255, 102, 0);
	}

	.video-desc .top .list .content {
		display: flex;
		flex-wrap: wrap;
	}

	.video-desc .top .list .content .item {
		width: 230rpx;
	}

	.video-desc .top .list .item {
		margin: 4px 0;
	}

	.video-desc .top .list .item .val {
		word-wrap: break-word;
		font-size: 22rpx;
	}

	.video-desc .bottom {
		margin-top: 20rpx;
	}

	.video-desc .bottom .attr {
		font-size: 25rpx;
	}

	.video-desc .bottom .val {
		font-size: 22rpx;
	}
</style>
